<%@include file="../header.jsp"%>
<!-- start content-outer -->
<div id="content-outer"><!-- start content -->
<div id="content">
<div id="page-heading">
<c:forEach items="${pembimbing}" var="pembimbing" >    
<c:if test="${(pembimbing.user.idUser == detailBimbingan.user.idUser)}">
<h1>Detail Bimbingan TA - ${idMahasiswa}, Pembimbing : ${pembimbing.user.namaUser}</h1>
</c:if>
</c:forEach>
</div>
<table id="content-table" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" alt="" height="300" width="20" /></th>
<th class="topleft"></th>
<td id="tbl-border-top">&nbsp;</td>
<th class="topright"></th>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" alt="" height="300" width="20" /></th>
</tr>
<tr>
<td id="tbl-border-left"></td>
<td><!-- start content-table-inner -->
<div id="content-table-inner">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr valign="top">
<td><!-- start step-holder -->
<!-- end step-holder -->
<!-- start id-form -->
<script>
function validateEditBimingan()
{
    if(document.detailBimbingan.judulBimbingan.value==""){
    alert("Judul bimbingan harus diisi !");
    document.detailBimbingan.judulBimbingan.focus();
    return false;
    }else if (document.detailBimbingan.isiBimbingan.value=="")
    {
    alert("Isi bimbingan harus diisi !");
    document.detailBimbingan.isiBimbingan.focus();
    return false;
    }
}
</script>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<tbody>
<c:if test="${detailBimbingan.user.idUser == idDosen}">
<form name="detailBimbingan" action="SidangTAController?page=dosenUpdateBimbinganTA" onSubmit="return validateEditBimingan()" method="post">
<input type="hidden" name="idDosen" value="${detailBimbingan.user.idUser}"></input>
<input type="hidden" name="idMahasiswa" value="${idMahasiswa}"></input>
<input type="hidden" name="idBim" value="${idBim}"></input>
<tr>
<th width="130" valign="top">Tanggal</th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
<input readonly name="tglBimbingan" value="${detailBimbingan.tglBimbingan} "class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
<th width="130" valign="top">Judul Bimbingan</th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
<input name="judulBimbingan" value="${detailBimbingan.judulBimbingan}"class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
<th valign="middle">Isi Bimbingan</th>
<td valign="middle" align="center">:</td>
<td><textarea name="isiBimbingan" rows="" cols="" class="form-textarea">${detailBimbingan.isiBimbingan}</textarea></td>
<td></td>
</tr>
<tr>
  <th>&nbsp;</th>
  <td valign="top">&nbsp;</td>
  <td valign="top"> <input value="" class="form-ubah" type="submit" /></td>
  <td></td>
</tr>
</form>
</c:if>
<c:if test="${detailBimbingan.user.idUser != idDosen}">
<form name="detailBimbingan" action="SidangTAController?page=dosenUpdateBimbinganTA" onSubmit="return validateEditBimingan()" method="post">
<input type="hidden" name="idDosen" value="${detailBimbingan.user.idUser}"></input>
<input type="hidden" name="idMahasiswa" value="${idMahasiswa}"></input>
<input type="hidden" name="idBim" value="${idBim}"></input>
<tr>
<th width="130" valign="top">Tanggal</th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
<input readonly name="tglBimbingan" value="${detailBimbingan.tglBimbingan} "class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
<th width="130" valign="top">Judul Bimbingan</th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
<input readonly name="judulBimbingan" value="${detailBimbingan.judulBimbingan}"class="inp-form" type="text" />
</td>
<td width="187" ></td>
</tr>
<tr>
<th valign="middle">Isi Bimbingan</th>
<td valign="middle" align="center">:</td>
<td><textarea readonly name="isiBimbingan" rows="" cols="" class="form-textarea">${detailBimbingan.isiBimbingan}</textarea></td>
<td></td>
</tr>
</form>
</c:if>
</tbody>
</table>
<!-- end id-form --> </td>
<td><!-- start related-activities -->

</tr>
<tr>
<td><img src="images/shared/blank.gif" alt="blank" height="1" width="695" /></td>
<td></td>
</tr>
</tbody>
</table>
<div class="clear"></div>
</div>
<!-- end content-table-inner -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
<th class="sized bottomleft"></th>
<td id="tbl-border-bottom">&nbsp;</td>
<th class="sized bottomright"></th>
</tr>
</tbody>
</table>
<div class="clear">&nbsp;</div>
</div>
<!-- end content -->
<div class="clear">&nbsp;</div>
</div>
<!-- end content-outer -->
<div class="clear">&nbsp;</div>
<!-- start footer -->
<div id="footer"><!-- start footer-left -->
<div id="footer-left"> Admin Skin © Copyright Internet
Dreams Ltd. <a href="">www.netdreams.co.uk</a>. All
rights reserved.</div>
<!-- end footer-left -->
<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
</body></html>